package com.huaxin.common.Entity;

import java.util.List;

/**
 * Created by hebing on 2017/4/28.
 */

public class FrendCircleBean {


    /**
     * msg : success
     * pageLength : 10
     * totalNum : 18
     * state : 1
     * pageNum : 0
     * commentArray :
     */

    private String msg;
    private int pageLength;
    private int totalNum;
    private int state;
    private int pageNum;
    private List<CommentArrayBean> commentArray;

    @Override
    public String toString() {
        return "FrendCircleBean{" +
                "msg='" + msg + '\'' +
                ", pageLength=" + pageLength +
                ", totalNum=" + totalNum +
                ", state=" + state +
                ", pageNum=" + pageNum +
                ", commentArray=" + commentArray +
                '}';
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getPageLength() {
        return pageLength;
    }

    public void setPageLength(int pageLength) {
        this.pageLength = pageLength;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public List<CommentArrayBean> getCommentArray() {
        return commentArray;
    }

    public void setCommentArray(List<CommentArrayBean> commentArray) {
        this.commentArray = commentArray;
    }

    public static class CommentArrayBean {
        /**
         */

        private int questionId;
        private long publishDate;
        private PublisherBean publisher;
        private int id;
        private String content;
        private List<ChildCommentArrayBean> childCommentArray;
        private boolean isLike;

        public boolean isLike() {
            return isLike;
        }

        public void setLike(boolean like) {
            isLike = like;
        }

        public int getQuestionId() {
            return questionId;
        }

        public void setQuestionId(int questionId) {
            this.questionId = questionId;
        }

        public long getPublishDate() {
            return publishDate;
        }

        public void setPublishDate(long publishDate) {
            this.publishDate = publishDate;
        }

        public PublisherBean getPublisher() {
            return publisher;
        }

        public void setPublisher(PublisherBean publisher) {
            this.publisher = publisher;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public List<ChildCommentArrayBean> getChildCommentArray() {
            return childCommentArray;
        }

        public void setChildCommentArray(List<ChildCommentArrayBean> childCommentArray) {
            this.childCommentArray = childCommentArray;
        }

        public static class PublisherBean {
            /**
             * img : http://139.224.234.222:8081/uploads/image/userHeadImg/20170419171125585.jpg
             * nickName : WuferzZ
             * id : 376
             */

            private String img;
            private String nickName;
            private int id;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class ChildCommentArrayBean {
            /**
             * questionId : 121
             * fromPeople : {"img":"http://139.224.234.222:8081/uploads/image/userHeadImg/20170419171125585.jpg","nickName":"WuferzZ","id":376}
             * publishDate : 1493369985000
             * toPeople : {"img":"http://139.224.234.222:8081/uploads/image/userHeadImg/20170419171125585.jpg","nickName":"WuferzZ","id":376}
             * id : 190
             * content : 不要零回复
             *
             */

            private int questionId;
            private FromPeopleBean fromPeople;
            private long publishDate;
            private ToPeopleBean toPeople;
            private int id;
            private String content;
            private int isResponse;

            public int getIsResponse() {
                return isResponse;
            }

            public void setIsResponse(int isResponse) {
                this.isResponse = isResponse;
            }

            public int getQuestionId() {
                return questionId;
            }

            public void setQuestionId(int questionId) {
                this.questionId = questionId;
            }

            public FromPeopleBean getFromPeople() {
                return fromPeople;
            }

            public void setFromPeople(FromPeopleBean fromPeople) {
                this.fromPeople = fromPeople;
            }

            public long getPublishDate() {
                return publishDate;
            }

            public void setPublishDate(long publishDate) {
                this.publishDate = publishDate;
            }

            public ToPeopleBean getToPeople() {
                return toPeople;
            }

            public void setToPeople(ToPeopleBean toPeople) {
                this.toPeople = toPeople;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public static class FromPeopleBean {
                /**
                 * img : http://139.224.234.222:8081/uploads/image/userHeadImg/20170419171125585.jpg
                 * nickName : WuferzZ
                 * id : 376
                 */

                private String img;
                private String nickName;
                private int id;

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }

            public static class ToPeopleBean {
                /**
                 * img : http://139.224.234.222:8081/uploads/image/userHeadImg/20170419171125585.jpg
                 * nickName : WuferzZ
                 * id : 376
                 */

                private String img;
                private String nickName;
                private int id;

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }
    }
}
